﻿namespace Example.Structural.Decorator
{
    public abstract class RecordingDecorator : IRecording
    {
        protected RecordingDecorator(IRecording component)
        {
            Component = component;
        }

        public virtual string Recording
        {
            get
            {
                return Component.Recording;
            }
        }

        protected IRecording Component { get; private set; }
    }
}